package com.wkk.entity;

public class MyCourse {
    private Integer id;
    private Integer cid;//课程编号
    private Integer uid;//用户编号
    private Integer classNum;//课时数
    private Integer state;//用于判断是谁预约
    private String date;//购买的时间
    private Integer numLast;//剩余课时

    private Course course;//课程的详细信息
    private Integer signState;//用于判断该课程

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getClassNum() {
        return classNum;
    }

    public void setClassNum(Integer classNum) {
        this.classNum = classNum;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getNumLast() {
        return numLast;
    }

    public void setNumLast(Integer numLast) {
        this.numLast = numLast;
    }

    public Integer getSignState() {
        return signState;
    }

    public void setSignState(Integer signState) {
        this.signState = signState;
    }

    @Override
    public String toString() {
        return "MyCourse{" +
                "id=" + id +
                ", cid=" + cid +
                ", uid=" + uid +
                ", classNum=" + classNum +
                ", state=" + state +
                ", date='" + date + '\'' +
                ", numLast=" + numLast +
                ", course=" + course +
                '}';
    }
}
